Technote TE 531 | May 1993 |
Date written: 12/11/92
Last reviewed: 3/1/93
Is there a Gestalt selector for the Text Services Manager (TSM)? (I did try to look in the documentation and sample code, but wasn't able to locate it. The only thing I found so far was that sample code tests for Apple events and assumes that TSM is available.)
___
The Gestalt selector for TSM isn't yet published in the regular MPW interfaces. To check for availability of TSM, you can use the following code:
#define gestaltTSMgrVersion 'tsmv' tsmVersion = 0; tsmErr = Gestalt(gestaltTSMgrVersion, &tsmVersion); /* If gestaltUnknownErr or gestaltUndefSelectorErr was returned in tsmErr, ** then we don't have TSM available to us. */
As suggested by the symbolic names, Gestalt (if successful) returns the version
number in tsmVersion.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help